<script setup lang="ts">
import ThemeSwitch from './ThemeSelector.vue';
import useTheme from '../utils/useTheme';
const { theme } = useTheme();
</script>

<template>

  <div class="container">
    <div class="theme-switcher">
      <span>{{ theme }}</span>
      <ThemeSwitch />
    </div>
    <div class="content">
      <span>Theme Switch</span>
    </div>
  </div>
  
</template>

<style scoped>
.container{
  width: 100%;
  height: 100%;
  position: relative;
}
.theme-switcher{
  box-sizing: border-box;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: baseline;
  align-items: center;
  font-size: 24px;
  position: absolute;
  z-index: 3;
  width: 100%;
}
.content{
  width: 100%;
  height: 100%;
  font-size: 140px;
  font-weight: 900;
  
  display: flex;
  justify-content: center;
  align-items: center;
}
</style>
